home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Disc to the Future 2
/
Disc to the Future Part II Programmer's Reference (Wayzata Technology)(6013)(1992).bin
/
MAC
/
THINKC
/
4_0
/
ORBIT_SO
/
ORBIT.H
< prev
Wrap
Text File
|
1992-07-19
|
349b
|
12 lines
#define NDIMS 3
typedef struct {
double m; /* Kilograms */
double x[NDIMS]; /* meters */
double p[NDIMS]; /* momentum (kg m/s) */
double xt[NDIMS]; /* x,y at time 1/2 way through next interval*/
double f[NDIMS]; /* x and y force */
Point pt; /* previous screen position */
} PARTICLE;
enum {dot = 1, dottrain, linetrail, tail};